package com.arvato.right.bean.bean_do;

import java.util.Date;

import com.arvato.common.util.SnowFlakeGeneratorId;
/**
 * 权限管理之角色和资源关联表
 * @author ZHAN655
 *
 */
public class WxworkRightRoleResourceDo {
	/**
	 * 主键id
	 */
    private String id = new SnowFlakeGeneratorId(2, 3).nextId() + "";
    /**
     * 资源ID
     */
    private String resourceId;
    /**
     * 角色ID
     */
    private String roleId;
    /**
     * 创建时间
     */
    private Date createDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId == null ? null : resourceId.trim();
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}